package com.qf.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/demo")
public class MvcDemoController {

    @RequestMapping("/init")
    @ResponseBody
    public String initMvc(String name) {
        return name + "你好，欢迎来到热部署的世界";
    }
}
